extends Node

var bt_open = false

func _on_button_pressed():
	bt_open = not bt_open
	if bt_open:
		get_node("Button").text = "打开"
		get_node("Timer").stop()
		get_node("Spite").show()
	else:
		get_node("Button").text = "关闭"
		get_node("Timer").start()
	
